package com.yan.controller.viewModel.looker;

import lombok.Data;

@Data
public class BookRatingInfo {
	private int userid;
	private int bookid;
	private int rating;
	private String comments;
	private int up;
	private int down;


	@Override
	public String toString() {
		return "BookRating [userid=" + userid + ", bookid=" + bookid + ", rating=" + rating + ", comments=" + comments
				+ ", up=" + up + ", down=" + down + "]";
	}
	public BookRatingInfo(int userid, int bookid, int rating, String comments) {
		super();
		this.userid = userid;
		this.bookid = bookid;
		this.rating = rating;
		this.comments = comments;
	}
	
	public BookRatingInfo() {
		super();
	}

}
